package com.tarzan.api.model.response.role;

import com.tarzan.api.model.response.ment.SysMenuResp;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName SysRolePermissionsResp
 * @Deacription TODO
 * @Author liujinshan
 * @Date 2020/10/10 14:54
 * @Version 1.0
 **/

public class SysRolePermissionsResp {

    private Long roleId;

    private Long menuId;

    private String menuName;

    /**
     * 父菜单ID
     */
    private Long parentId;

    /**
     * 子路由
     */
    private List<SysMenuResp> children = new ArrayList<>();

    public List<SysMenuResp> getChildren() {
        return children;
    }

    public void setChildren(List<SysMenuResp> children) {
        this.children = children;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }
}
